package com.zk.service;

import com.alibaba.fastjson.JSONObject;
import com.zk.entity.MongoDBOrder;

import java.util.List;

public interface IMongoDBService {
    public boolean addOrder(MongoDBOrder a);
    public boolean updateOrder(String id , JSONObject jsonObject);
    public boolean deleteOrder(String id);
    public MongoDBOrder findOrderById(String id);
    public List<MongoDBOrder> findOrderByUser(String username);
}
